package com.kgc.ebookmanagement2.mapper;

import com.kgc.ebookmanagement2.pojo.Ebook_Category;
import com.kgc.ebookmanagement2.pojo.Ebook_CategoryExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface Ebook_CategoryMapper {
    int countByExample(Ebook_CategoryExample example);

    int deleteByExample(Ebook_CategoryExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Ebook_Category record);

    int insertSelective(Ebook_Category record);

    List<Ebook_Category> selectByExample(Ebook_CategoryExample example);

    Ebook_Category selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Ebook_Category record, @Param("example") Ebook_CategoryExample example);

    int updateByExample(@Param("record") Ebook_Category record, @Param("example") Ebook_CategoryExample example);

    int updateByPrimaryKeySelective(Ebook_Category record);

    int updateByPrimaryKey(Ebook_Category record);
}